package com.demo.vo;

import java.io.Serializable;
import java.util.Date;

/**
 * @author sdyang
 * @create 2019-02-22 9:10
 **/
public class BaseModel implements Serializable {

    protected Long id;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 创建人
     */
    private String creator;

    /**
     * 创建时间
     */
    private Date create_time;

    /**
     * 修改人
     */
    private String modified_person;

    /**
     * 修改时间
     */
    private Date modified_time;

    /**
     * 租户id
     */
    public Long client_id = 0L;

    /**
     * 删除标识：true为删除
     */
    public boolean is_delete = false;

    /**
     * 操作key（增删改）
     */
    private Long datakey;

    /**
     * 版本号（更新缓存）
     */
    public Long version;

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    public String getModified_person() {
        return modified_person;
    }

    public void setModified_person(String modified_person) {
        this.modified_person = modified_person;
    }

    public Date getModified_time() {
        return modified_time;
    }

    public void setModified_time(Date modified_time) {
        this.modified_time = modified_time;
    }

    public Long getClient_id() {
        return client_id;
    }

    public void setClient_id(Long client_id) {
        this.client_id = client_id;
    }

    public boolean getIs_delete() {
        return is_delete;
    }

    public void setIs_delete(boolean is_delete) {
        this.is_delete = is_delete;
    }

    public Long getVersion() {
        return version;
    }

    public void setVersion(Long version) {
        this.version = version;
    }

    public Long getDatakey() {
        return datakey;
    }

    public void setDatakey(Long datakey) {
        this.datakey = datakey;
    }

}